#include <stdio.h>

int main()
{
	FILE *fp = fopen("./file1.txt","w+");
	if(fp==NULL)	return 0;

	char str[100]={"1234abc0123"};
	str[5] = '\0';
	int wcnt = fwrite(str,1,sizeof(str),fp);
	printf("wcnt:%d\n",wcnt);
	return 0;
}
